package com.kakarote.oa.mapper;

import com.kakarote.core.servlet.BaseMapper;
import com.kakarote.oa.entity.PO.OaLogFieldNumberData;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

/**
 * @author wanli
 * @description 针对表【wk_oa_log_field_number_data(自定义编号字段存值表)】的数据库操作Mapper
 * @createDate 2022-07-05 18:08:18
 * @Entity com.kakarote.oa.entity.PO.OaLogFieldNumberData
 */
public interface OaLogFieldNumberDataMapper extends BaseMapper<OaLogFieldNumberData> {

    Integer queryMaxNumber(@Param("fieldId") Long fieldId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);

    void saveBatchData(Map<String, Object> dataMap);

    void updateBatchData(Map<String, Object> dataMap);

    Integer selectBatchData(Map<String, Object> dataMap);
}




